<template>
	<navigator class="myhead" open-type="navigateBack">
		<image class="routericon" src="../../static/images/leftback.png"
		v-if="title != '账单'"></image>
		<view class="title">
			{{title}}
		</view>
	</navigator>
</template>

<script>
	export default {
		props:{
			title:{
				type:String,
				default:''
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.myhead{
	display: flex;
	align-items: center;
	padding: 0 16rpx;
	box-sizing: border-box;
	margin-bottom: 30rpx;
	.routericon{
		width: 36rpx;
		height: 36rpx;
		margin-right: 20rpx;
	}
}
</style>
